testsuite: Fix installed tests
authorMatthias Clasen <mclasen@redhat.com>
Sun, 2 Aug 2020 01:23:34 +0000 (21:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 2 Aug 2020 02:12:08 +0000 (22:12 -0400)
This broken recently, when we converted the tests
array to a dictionary.

Fixes: #2966
testsuite/gtk/meson.build

index 1238882b04d1d2682e057785c35c85275d1003da..286c8f38fbebb639be0ba90e6f72271c98f59a10 100644 (file)
@@ -260,7 +260,7 @@ endforeach
 
 if get_option('install-tests')
   foreach t : tests
-    test_name = t.get(0)
+    test_name = t.get('name')
     conf = configuration_data()
     conf.set('testexecdir', testexecdir)
     conf.set('test', test_name)